package com.fangcun.service.admin;

import com.fangcun.bean.admin.order.request.OrderDeliveredRequest;
import com.fangcun.bean.admin.order.request.OrderRequest;
import com.fangcun.bean.admin.order.response.OrderDetailsResponse;
import com.fangcun.bean.admin.order.response.OrderResponse;
import com.fangcun.bean.sys.PageBean;
import com.fangcun.common.exception.ProException;
import com.github.pagehelper.PageInfo;

public interface OrderSerivce {

	/** 列表 **/
	public PageInfo<OrderResponse> list(PageBean<OrderRequest> request) throws ProException;

	/** 详情 **/
	public OrderDetailsResponse details(Long id) throws ProException;

	/** 订单改为已发货 **/
	public void orderDelivered(OrderDeliveredRequest request) throws ProException;

	// /**审核失败修改退款单**/
	// public void updateApplyFailRefund(Order request) throws ProAffairException;
	//
	// /**申请退货成功**/
	// public String updateApplySuccessRefund(Order request, Long distributorId) throws ProAffairException;
	//
	// /**收到退货快递过后执行退款**/
	// public void refundUserPrice(Order request, Long distributorId) throws ProAffairException;

	/** 到处订单明细 **/
	public String down(OrderRequest request) throws ProException;

}
